package org.example.ssmDemo.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.example.ssmDemo.entity.DoctorEntity;
import org.example.ssmDemo.entity.DoctorHaoEntity;

/**
 * @author cliang.liangchao
 * @version 1.0
 * @Description: 医生查询
 * @date: 2021/11/16
 */
public interface DoctorInfoMapper {

    long getDoctorCount();

    List<DoctorEntity> getDoctorList(@Param("pageNo") int pageNo, @Param("pageSize") int pageSize);

    List<String> queryHospAlias(@Param("hospName") String hospName);

    List<DoctorHaoEntity> queryDoctorInHaoDaiFu(@Param("doctorName") String doctorName, @Param("hospName") String hospName, @Param("aliasList") List<String> aliasList);

    void updateClinicalTile(@Param("doctorEntity") DoctorEntity doctorEntity);
}
